package com.iwayin.core.vo;

import java.util.List;
import com.iwayin.core.dataobject.CategoryDO;
import com.iwayin.core.utils.PageInfo;

/**
 * 搜索公用VO,用于搜索
 * 
 * @author xiaobo.feng<xiaobo.feng@foxmail.com>
 * 
 *         Mar 28, 2012
 */
public class SearchVO extends PageInfo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7052820448843285076L;
	private Long loginId;
	private Long id;
	// 用户属性
	private String loginName;
	private String avatarPath;
	private Long followCount;
	private Long fansCount;
	private Long askCount;
	private Long gender;
	private boolean follow;// true 代表已follow false代表未follow
	// ask属性
	private String question;// 内容
	private String picPath;// 关联图片
	private Long askType;// 问题类型
	private Long commentCount;// 评论数量
	private Long answerCount;// 回答数量
	private Long userId;// 提问人
	private String userName;// 提问人昵称
	private List<CategoryDO> categoryList;
	private boolean alreadyAnswer;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getAvatarPath() {
		return avatarPath;
	}

	public void setAvatarPath(String avatarPath) {
		this.avatarPath = avatarPath;
	}

	public Long getFollowCount() {
		return followCount;
	}

	public void setFollowCount(Long followCount) {
		this.followCount = followCount;
	}

	public Long getFansCount() {
		return fansCount;
	}

	public void setFansCount(Long fansCount) {
		this.fansCount = fansCount;
	}

	public Long getAskCount() {
		return askCount;
	}

	public void setAskCount(Long askCount) {
		this.askCount = askCount;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public Long getAskType() {
		return askType;
	}

	public void setAskType(Long askType) {
		this.askType = askType;
	}

	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Long getAnswerCount() {
		return answerCount;
	}

	public void setAnswerCount(Long answerCount) {
		this.answerCount = answerCount;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getLoginId() {
		return loginId;
	}

	public void setLoginId(Long loginId) {
		this.loginId = loginId;
	}

	public boolean isFollow() {
		return follow;
	}

	public void setFollow(boolean follow) {
		this.follow = follow;
	}

	public Long getGender() {
		return gender;
	}

	public void setGender(Long gender) {
		this.gender = gender;
	}

	public List<CategoryDO> getCategoryList() {
		return categoryList;
	}

	public void setCategoryList(List<CategoryDO> categoryList) {
		this.categoryList = categoryList;
	}

	public boolean isAlreadyAnswer() {
		return alreadyAnswer;
	}

	public void setAlreadyAnswer(boolean alreadyAnswer) {
		this.alreadyAnswer = alreadyAnswer;
	}

}
